﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace _20170202_GameNode
{
    class Drawer
    {
        private char gameNodeSymbol;

        public Drawer(char symbol)
        {
            gameNodeSymbol = symbol;
        }

        public void DrawGameNode(GameNode node)
        {
            Console.SetCursorPosition(node.X, node.Y);
            Console.Write(gameNodeSymbol);
        }

        public void ClearGameNode(GameNode node)
        {
            Thread.Sleep(200);
            Console.SetCursorPosition(node.X, node.Y);
            Console.Write(' ');
        }

    }
}
